using System;
using System.Collections.Generic;
using System.Windows.Forms;
using TestImport.Importeren;
 

namespace TestImport
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            //Application.Run(new ImporteerBoeken());
            //Application.Run(new ImporteerLeerlingen());
            //Application.Run(new StartScherm());
            //Application.Run(new Instellingen());
            //Application.Run(new SuperDataView());
            //Application.Run(new Testje());
            string licencie = Opstarten.magOpstarten();
            if (!licencie.Equals("OK"))
                MessageBox.Show(licencie, "LICENCIE");
            else
            {
                StartSchermOpenen start = null;
                if (InstParameters.Default.vStartschermMetTabs)
                    start = new StartSchermOpenen(true);
                else
                    start = new StartSchermOpenen(false);
                Application.Run(StartSchermOpenen.switchStartScherm());               
            }   
         }
    }
}